#ifndef pkm_raw_texture_h
#define pkm_raw_texture_h

#include "AbstractTexture.h"
#include "SDL.h"

namespace k2graphics
{
    
class RawTexture : public AbstractTexture
{
public:
	// Woo.. yay... 
	RawTexture();
	RawTexture(GLuint rawTex);

	GLuint getRawGLTexture(int* params, int numParams);
	GLuint getRawGLTexture();
	void getRawTextureCoordinates(float sx, float sy, float &dx, float &dy);
	void getRawTextureCoordinates(int* params, int numParams, float sx, float sy, float &dx, float &dy);

	void glTextureFromSDLSurface(SDL_Surface* surface);

	int getTextureType();
private:
	GLuint _rawGLTexture;
};

}
#endif
